﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;

namespace RegionCore
{
    public class MessageDomain
    {
        public MessageDomain(int _BackgroundId, string _DomainName)
        {
            BackgroundId = _BackgroundId;
            DomainName = _DomainName;
        }
        public string DomainName;
        public int BackgroundId;
        public int RegionId;
        public Dictionary<int, SocketEntry> ClientList = new Dictionary<int, SocketEntry>();
        public ReaderWriterLock ClientLock = new ReaderWriterLock();
    }
}
